package org.jvending.provisioning.config.adapters;

public class ObjectFactory {
    private org.apache.ws.jaxme.impl.JAXBContextImpl jaxbContext;

    private java.util.Map properties;


    public ObjectFactory() throws javax.xml.bind.JAXBException {
        jaxbContext = (org.apache.ws.jaxme.impl.JAXBContextImpl) javax.xml.bind.JAXBContext.newInstance("org.jvending.provisioning.config.adapters");
    }

    public java.lang.Object newInstance(java.lang.Class pElementInterface) throws javax.xml.bind.JAXBException {
        return jaxbContext.getManager(pElementInterface).getElementJ();
    }

    public java.lang.Object getProperty(java.lang.String pName) {
        if (properties == null) {
            return null;
        }
        return properties.get(pName);
    }

    public void setProperty(java.lang.String pName, java.lang.Object pValue) {
        if (properties == null) {
            properties = new java.util.HashMap();
        }
        properties.put(pName, pValue);
    }

    public org.jvending.provisioning.config.adapters.Adapters createAdapters() throws javax.xml.bind.JAXBException {
        return (org.jvending.provisioning.config.adapters.Adapters) newInstance(org.jvending.provisioning.config.adapters.Adapters.class);
    }

    public org.jvending.provisioning.config.adapters.AdaptersType createAdaptersType() throws javax.xml.bind.JAXBException {
        return (org.jvending.provisioning.config.adapters.AdaptersType) newInstance(org.jvending.provisioning.config.adapters.AdaptersType.class);
    }

    public org.jvending.provisioning.config.adapters.Adapter createAdapter() throws javax.xml.bind.JAXBException {
        return (org.jvending.provisioning.config.adapters.Adapter) newInstance(org.jvending.provisioning.config.adapters.Adapter.class);
    }

    public org.jvending.provisioning.config.adapters.AdapterType createAdapterType() throws javax.xml.bind.JAXBException {
        return (org.jvending.provisioning.config.adapters.AdapterType) newInstance(org.jvending.provisioning.config.adapters.AdapterType.class);
    }

    public org.jvending.provisioning.config.adapters.DescriptorFile createDescriptorFile() throws javax.xml.bind.JAXBException {
        return (org.jvending.provisioning.config.adapters.DescriptorFile) newInstance(org.jvending.provisioning.config.adapters.DescriptorFile.class);
    }

    public org.jvending.provisioning.config.adapters.DescriptorFileType createDescriptorFileType() throws javax.xml.bind.JAXBException {
        return (org.jvending.provisioning.config.adapters.DescriptorFileType) newInstance(org.jvending.provisioning.config.adapters.DescriptorFileType.class);
    }

    public org.jvending.provisioning.config.adapters.InitParam createInitParam() throws javax.xml.bind.JAXBException {
        return (org.jvending.provisioning.config.adapters.InitParam) newInstance(org.jvending.provisioning.config.adapters.InitParam.class);
    }

    public org.jvending.provisioning.config.adapters.InitParamType createInitParamType() throws javax.xml.bind.JAXBException {
        return (org.jvending.provisioning.config.adapters.InitParamType) newInstance(org.jvending.provisioning.config.adapters.InitParamType.class);
    }

}
